import { log_mongoDB } from '../../../../../../../../../../../../../../conect_mongoDB_class_laugh_node';
import { get_log_db_cur_user } from '../../../../../../../../create_acount/Func/get_db';
import { req_info_music_lyric_upload } from '../../../Classes/cla_req_info_music_lyric_upload';
import { spacename_lyric } from '../../../DataDefine/sourceData';

/**
 * log db -->
 *
 * log_user_${cur_user_id}_lyric
 */
export function get_log_db_cur_user_lyric(
  cur_info: req_info_music_lyric_upload
) {
  let log_cur_user_lyric = `${get_log_db_cur_user(
    cur_info
  )}_${spacename_lyric}`;

  return log_mongoDB.collection(log_cur_user_lyric);
}
